home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Internet
/
Collection of Internet.iso
/
infosrvr
/
dev
/
www_talk.930
/
001479_daemon _Tue Jun 29 11:55:25 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1994-01-24
|
2KB
Received: by nxoc01.cern.ch (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
id AA06344; Tue, 29 Jun 93 11:55:27 MET DST
Return-Path: <M.T.Hamilton@lut.ac.uk>
Received: from dxmint.cern.ch by nxoc01.cern.ch (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
id AA06340; Tue, 29 Jun 93 11:55:25 MET DST
Received: from avarice.lut.ac.uk by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
id AA09762; Tue, 29 Jun 1993 12:18:44 +0200
Received: from genie.lut.ac.uk by avarice.lut.ac.uk
id <19883-0@avarice.lut.ac.uk>; Tue, 29 Jun 1993 11:23:07 +0100
Date: Tue, 29 Jun 1993 11:22:11 +0100 (BST)
From: Martin Hamilton <M.T.Hamilton@lut.ac.uk>
Subject: MIME mailcap entry for HTML, using TkWWW
To: www-talk@nxoc01.cern.ch
Message-Id: <Pine.3.07.9306291110.F19312-a100000@avarice>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: M.T.Hamilton@lut.ac.uk
I don't recall having seen anything like this, so here goes...
text/x-html; xmosaic %s
text/x-html; xmosaic %s; compose=htmlcompose %s;\
description="HTML Hypertext generated by tkWWW 0.8"
Where htmlcompose is...
#!/bin/sh
WWW_HOME=$1.html export WWW_HOME
cat >$WWW_HOME <<!!EOF!!
<title>HTML generated for `whoami`@`hostname`.`domainname` by TkWWW</title>
<h1>Type your message in here!</h1>
!!EOF!!
tkWWW -wwwnoinfo
mv $1.html $1
The only drawback with using tkWWW this way is that you have
to go through the "generate source" & "save source" dialogs
to get your HTML exported.
Suggestion:
One way to get around this would be to have a command line option
(say -wwwsource) that told it just to act as an HTML editor, reading
in $1 and dumping the exported HTML automatically on exiting.
Martin
PS An "insert file" option would be quite nice too!